Garry's Mod Wiki

Revision Difference

http#546210

<type name="http" category="libraryfunc" is="library"> <summary>The http library allows either the server or client to communicate with external websites via HTTP, both GET (<page>http.Fetch</page>) and POST (<page>http.Post</page>) are supported. A more powerful & advanced method can be used via the global <page>Global.HTTP</page> function.⤶ ⤶ ⤶ <bug>Currently there is a problem with CURL library on Linux being unable to validate HTTPS connections with certificates issued by Let's Encrypt. The best course of action to solve this problem now is to use binary module that replaces HTTP function. Either this one https://github.com/WilliamVenner/gmsv_reqwest or this one https://github.com/timschumi/gmod-chttp.</bug>⤶ ⤶ </summary>⤶ ⤶ <summary>⤶ The http library allows either the server or client to communicate with external websites via HTTP, both `GET` (<page>http.Fetch</page>) and `POST` (<page>http.Post</page>) are supported. A more powerful & advanced method can be used via the global <page>Global.HTTP</page> function.⤶ </summary> ⤶ </type>