Skip to main content
Solved

HTTPCaller POST /Authenticate

  • November 22, 2024
  • 7 replies
  • 59 views

elmido13
Contributor
Forum|alt.badge.img+3

I have successfully POST Authenticate using postman. But have no luck using HTTPCaller? Any idea please?

 

Best answer by nielsgerrits

Ah sorry, because this is a POST, you need to move the parameters from the headers to the body.

In Upload Body you need 

emailAdress=<emailadress>&password=<password>

View original
Did this help you find an answer to your question?

7 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

What is the error, issue?

Can you printscreen the HTTPCaller’s screen?


elmido13
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 22, 2024

Using HTTP Caller

 


elmido13
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 22, 2024
FME Error

 


nielsgerrits
VIP
Forum|alt.badge.img+54

Content Type is set to text. Please try and switch that to 

URL Encoded (application/x-www-form-urlencoded)


elmido13
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 22, 2024

@nielsgerrits Thank you for your response.

 

Still getting this error below

{"message":"","error":{"fields":{"body.emailAddress":{"message":"'emailAddress' is required"},"body.password":{"message":"'password' is required"}},"status":400,"name":"ValidateError","x-request-id":"kcgXSuAoin2FBs4hVrioNOfk48s5crl0s6IIb-SDMZjCsKZXWhBawg=="}}


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • November 22, 2024

Ah sorry, because this is a POST, you need to move the parameters from the headers to the body.

In Upload Body you need 

emailAdress=<emailadress>&password=<password>


elmido13
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 22, 2024

@nielsgerrits  Works Perfectly. Thank you for your help 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings