asyrjasalo / RESTinstance

Robot Framework library for RESTful JSON APIs
https://pypi.org/project/RESTinstance
GNU Lesser General Public License v3.0
205 stars 84 forks source link

Problems POSTing other representations than JSON #60

Closed ppazos closed 3 years ago

ppazos commented 5 years ago

Hi, I'm testing this extension on my REST API where, as REST, supports many representations for the same resource, for POST and GET.

I was testing with other formats than JSON for POST and it seems the library is not processing them correctly.

Is this library JSON only?

asimell commented 3 years ago

Hi @ppazos

This used to support JSON only, but https://github.com/asyrjasalo/RESTinstance/pull/113 added support for data as an argument to Post, Put, Patch, and Get keywords, which allow other forms of payloads. Does this help you?

asimell commented 3 years ago

Closing issue due to lack of new information. Please reopen if still an issue.