(List<String> headers)
| 59 | |
| 60 | |
| 61 | public static List<String> setHeader(List<String> headers){ |
| 62 | List<String> header = headers; |
| 63 | for(int i=1;i < headers.size();i++){ |
| 64 | if(headers.get(0).contains("Content-Type:")){ |
| 65 | header.set(i,"Content-Type: application/json"); |
| 66 | return header; |
| 67 | } |
| 68 | } |
| 69 | return header; |
| 70 | } |
| 71 | |
| 72 | public static List<String> JsonParmAddPoc(String body){ |
| 73 | List<String> payloads = Getpoc(); |