Skip to main content
Solved

HTTPCaller POST /Authenticate

  • November 22, 2024
  • 7 replies
  • 79 views

elmido13
Contributor
Forum|alt.badge.img+4

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>

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

7 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

What is the error, issue?

Can you printscreen the HTTPCaller’s screen?


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

Using HTTP Caller

 


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

 


nielsgerrits
VIP
Forum|alt.badge.img+62

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+4
  • 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+62
  • 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+4
  • Author
  • Contributor
  • November 22, 2024

@nielsgerrits  Works Perfectly. Thank you for your help