14 Commits

Author SHA1 Message Date
53179f88e2 added some more templates and functions
- added template for request body which takes either a string
	  build with form data or the json or text input given as it
	- added template for setting content type in header for
	  multipart/form-data file format
	- passing the request-body in setopt method to set the request
	  body
	- added functions to build formdata with or without a File
2024-03-17 23:57:56 +05:30
342fd78b5f added template for uuid and file boundary 2024-03-17 23:55:48 +05:30
d253f62f01 added template for user defined class File
- a constructor which takes a human readable name and the file
      and internally stores the contents of the file
    - if the file does not exist, then file_get_contents function
      returns false, in that case the contents of the file is an empty
      string
2024-03-17 23:49:48 +05:30
dc2bb203fe added body rendering templates
request body will be different based on whether or not the request
contains files
2024-03-17 23:39:33 +05:30
95b1555e1a added template for query parameters 2024-03-17 23:27:28 +05:30
b0556da235 added uri template 2024-03-17 23:27:03 +05:30
d4e515ae1c added further basic templates for headers and request creation 2024-03-17 23:26:24 +05:30
69ec62acac added basic templates for rendering 2024-03-17 23:24:18 +05:30
1c288bc7c2 added http verb to php curlopt conversion function 2024-03-17 23:21:39 +05:30
41ae457510 created php curl codegen file 2024-03-17 23:19:52 +05:30
d4723abe60 fixes 2024-03-15 17:44:51 +05:30
f14c024dd0 update: removed unneccessary "\" characters from templates. 2024-03-05 11:52:12 +05:30
5b81f17945 update: bugfixes 2024-03-04 22:27:03 +05:30
827e0d6b3a added php Guzzle support 2024-03-04 15:07:56 +05:30