apiary पर टैग किए गए जवाब

4
गो में पोस्ट अनुरोध में मैं JSON स्ट्रिंग कैसे भेजूं
मैंने Apiary के साथ काम करने की कोशिश की और JSON को नकली सर्वर भेजने के लिए एक सार्वभौमिक टेम्प्लेट बनाया और यह कोड है: package main import ( "encoding/json" "fmt" "github.com/jmcvetta/napping" "log" "net/http" ) func main() { url := "http://restapi3.apiary.io/notes" fmt.Println("URL:>", url) s := napping.Session{} h := &http.Header{} h.Set("X-Custom-Header", …
244 json  rest  go  apiary 
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.