Question

SOLVED: Curl POST in HTTP Caller

  • 11 May 2020
  • 1 reply
  • 7 views

Hello,

I'm trying to do a POST request, following this tutorial: https://developers.bimdata.io/tutorials/dev_get_access_token.html

Client ID: dd094dd6-3a18-4555-8567-df53b368583f
Client SECRET: a41e507e8e4819b118d145a94f0afcc06558b6842107c27babbf5f8f

But I can't figure it out.

My thinking was that the --data part is just the upload body as a string, but apparently not.

Would really appreciate some hints. Thanks in advance.

Edit: Ok, after some trial and error: Upload body needs to be encoded as a URL, not text. Oh well...

@FME moderation team: Could be helpful for othe FME users using the bimdata API, otherwise, feel free to delete. 


1 reply

Userlevel 4
Badge +25

Do you think that there’s a way we could make this requirement more obvious to the user?

As this question shows, you’re not the first to be caught out like this: https://knowledge.safe.com/questions/108492/question-of-the-week-web-services-curl-and-the-htt.html

Reply