I want to write a CURL
The original text is below
curl --request POST
–url ‘https://tdx.transportdata.tw/auth/realms/TDXConnect/protocol/openid-connect/token’
–header ‘content-type: application/x-www-form-urlencoded’
–data grant_type=client_credentials
–data client_id=YOUR_CLIENT_ID
–data client_secret=YOUR_CLIENT_SECRET \
the rewritten block is also attached.
But an error message appears.
The error message is error:invalid_request,error_description missing form parameter grant_type
How do I need to modify it?