Jump to content


Changed Content-Type of Chat Bot API Request Object? (v7.1)


2 replies to this topic

#1 Funnyman

    Member

  • Members
  • PipPip
  • 15 posts

Posted 11 June 2018 - 10:26 AM

Dear Livezilla Team,

its not exactly a Bug Report, but I hope it nevertheless fits this Board.
Basically I only want to know if it is correct, that you changed the Content-Type of Chat Bot API Requests from "application/x-www-form-urlencoded" to "multipart/form-data" in the course of the Update to 7.1
I couldn't find information regarding this question, so I am not sure if maybe I changed something with my hosting setup that causes this.

Best Regards

#2 Patrick Keil

    Administrator

  • Administrators
  • 3668 posts
  • LocationSingen, Germany

Posted 11 June 2018 - 11:08 AM

Hi,

Thanks for bringing this to our attention.

We changed from file_get_contents to curl in the latest update. multipart/form-data seems to be the default for all curl requests so this is not related to your hosting setup.

What problem do you have with this?

Cheers.

#3 Funnyman

    Member

  • Members
  • PipPip
  • 15 posts

Posted 11 June 2018 - 11:37 AM

Hi Patrick,

it is not necessarily a problem, but i will have to change the librarys i am using to parse the body data.
Just wanted to know if it is a bug or a feature or my setup, so i dont have to change it twice.

Thanks for the swift answer!
Best Regards





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users