Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PostForm (0.21 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.FormBody;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.FormBody
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody.Builder()
            .add("search", "Jurassic Park")
            .build()
        val request =
          Request(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. docs/recipes.md

     [PostFormJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostForm.java
     [PostFormKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
     [PostMultipartJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	return user, ErrNone
    }
    
    func parseForm(r *http.Request) error {
    	if err := r.ParseForm(); err != nil {
    		return err
    	}
    	for k, v := range r.PostForm {
    		if _, ok := r.Form[k]; !ok {
    			r.Form[k] = v
    		}
    	}
    	return nil
    }
    
    // getTokenSigningKey returns secret key used to sign JWT session tokens
    func getTokenSigningKey() (string, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg net/http, func NotFoundHandler() Handler
    pkg net/http, func ParseHTTPVersion(string) (int, int, bool)
    pkg net/http, func Post(string, string, io.Reader) (*Response, error)
    pkg net/http, func PostForm(string, url.Values) (*Response, error)
    pkg net/http, func ProxyFromEnvironment(*Request) (*url.URL, error)
    pkg net/http, func ProxyURL(*url.URL) func(*Request) (*url.URL, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg net/http, method (*Transport) CancelRequest(*Request)
    pkg net/http, type CloseNotifier interface { CloseNotify }
    pkg net/http, type CloseNotifier interface, CloseNotify() <-chan bool
    pkg net/http, type Request struct, PostForm url.Values
    pkg net/http, type Server struct, TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
    pkg net/http, type Transport struct, ResponseHeaderTimeout time.Duration
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top