22 Commits

Author SHA1 Message Date
2ce5727c01 [ISSUE 375] - request initialization and body setup 2024-04-03 12:50:32 +05:30
9103f8d5af [ISSUE 375] - query params rendered through iteration in jinja template 2024-04-03 12:49:08 +05:30
d87ac4b46f [ISSUE 375] - strip parameters from url before rendering 2024-04-03 12:48:20 +05:30
02b10c979c [ISSUE 375] - removed utility class rendering for file and formdata handling 2024-04-03 12:47:55 +05:30
623abe3611 [ISSUE 375] - request body is rendered based on whether formdata or text/json type 2024-04-03 12:47:17 +05:30
c04ae9ec30 [ISSUE 375] - header rendering through iteration in jinja template 2024-04-03 12:46:27 +05:30
3b4f3ad0f4 [ISSUE 375] - removed uuid boundary 2024-04-03 12:45:42 +05:30
8ac737b013 [ISSUE 375] - changed string style to single quotes 2024-04-03 12:44:39 +05:30
21e1355d32 [ISSUE 375] - reformatted query params and header rendering 2024-04-03 12:43:49 +05:30
d341c56eef [ISSUE 375] - removed request body utility functions and added curlopt array setup 2024-04-03 12:43:01 +05:30
91a58a8d31 fixes 2024-03-31 20:31:33 +05:30
ced4994091 added get code function to generate php curl code 2024-03-18 00:10:33 +05:30
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