POST /user/signature/set Http/1.1
Host: https://api.zipwhip.com
Parameters:
session - Required for authentication.
signature - the desired signature.
| POST /comment/send HTTP/1.1 | |
| Host: https://api.zipwhip.com | |
| $curl https://api.zipwhip.com/comment/send \ | |
| -d [email protected] \ | |
| -d name=[Users name] \ | |
| -d topic=I am the subject field. \ | |
| -d comment=I am the body of the support request. \ | |
| -d portal=[Portal ID] \ |
| Content-Type: text/plain; charset="utf-8" | |
| Content-Transfer-Encoding: base64 | |
| From: "Desk" <[email protected]> | |
| To: "Cell" <[email protected]> | |
| Subject: "8ef1211f-d9f2-4c81-906f-7d27da5a32f8:309626613" | |
| MIME-Version: 1.0 | |
| SGVsbG8gV29ybGQKCkhvdyBhcmUgeW91IHRvZGF5PwoKR29vZCBUaGFua3Mh |
| #! /bin/bash | |
| input_list=`cat $1` | |
| for i in $input_list | |
| do | |
| response=$(curl -s -X POST http://exampleurl.com/ -d parameter=$i) | |
| echo $i::$response >> $1.log | |
| done |
| import java.io.*; | |
| import java.nio.file.Files; | |
| import java.util.List; | |
| public class Main { | |
| public static void main(String[] args) { | |
| String charset = "UTF-8"; | |
| File uploadFile1 = new File("/Users/alancapps/Desktop/test.jpg"); |
POST /user/signature/set Http/1.1
Host: https://api.zipwhip.com
Parameters:
session - Required for authentication.
signature - the desired signature.
POST /user/save Http/1.1
Host: https://api.zipwhip.com
Parameters:
session - Required for authentication.
firstName - User's first name.
| //The values in this arrays contains the names of the indexes (keys) that should exist in the data array | |
| $required = array('key1', 'key2', 'key3' ); | |
| $data = array( | |
| 'key1' => 10, | |
| 'key2' => 20, | |
| 'key3' => 30, | |
| 'key4' => 40 | |
| ); |
| SELECT EXISTS(SELECT 1 FROM table_name WHERE id = 1); | |
| If it id exists then it will return 1 otherwise it will return 0. |
| cat access.log.2016-09-18 | grep '{search_term}' | grep -v '/css' | grep -v '/js' | grep -v '/img' |
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| ) | |
| func main() { | |
| testStop() |