// ReblogPost will reblog the post in postId and reblogKey to the blog blogName.
195280
func ReblogPost(client ClientInterface, blogName string, postId uint64, reblogKey string, params url.Values) (*PostRef, error) {
	if reblogKey == "" {
		return nil, errors.New("No reblog key provided")
	}
	params.Set("reblog_key", reblogKey)
	return doPost(client, "/blog/%s/post/reblog", blogName, setPostId(postId, params))
}
440187
func (e *Echo) Post(path string, h interface{}, m ...interface{}) {
	e.add(POST, "", path, h, m...)
}
13603
public Post postReblog(String blogName, Long postId, String reblogKey) {
        return this.postReblog(blogName, postId, reblogKey, null);
    }
930490
func (o *Organization) GetBlog() string {
	if o == nil || o.Blog == nil {
		return ""
	}
	return *o.Blog
}
18921
func (trc *TumblrRestClient) BlogInfo(blogname string) BlogInfoResponse {
	requestUrl := fmt.Sprintf("/v2/blog/%s/info", blogname)
	options := map[string]string{"api_key": trc.request.apiKey}
	data := trc.request.Get(requestUrl, options)
	var result BlogInfoResponse
	json.Unmarshal(data.Response, &result)
	return result
}
1095265
func (dec *Decoder) Postings(b []byte) (int, Postings, error) {
	d := encoding.Decbuf{B: b}
	n := d.Be32int()
	l := d.Get()
	return n, newBigEndianPostings(l), d.Err()
}
493379
public Post reblog(String blogName, Map<String, ?> options) {
        return client.postReblog(blogName, id, reblog_key, options);
    }
155598
func LikePost(client ClientInterface, postId uint64, reblogKey string) error {
	return doLike(client, "/user/like", postId, reblogKey)
}
1216612
public Post blogPost(String blogName, Long postId) {
        HashMap<String, String> options = new HashMap<String, String>();
        options.put("id", postId.toString());
        List<Post> posts = this.blogPosts(blogName, options);
        return posts.size() > 0 ? posts.get(0) : null;
    }
744759
func (c *Client) Post(ctx context.Context, url string, bodyType string, body io.Reader) error {
	resp, err := c.post(ctx, url, bodyType, body)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
1279138
func (r *Router) Post(path string, handler HandlerFunc) {
	r.Add(POST, path, handler)
}
524210
func Post(url string, v ...interface{}) (*Resp, error) {
	return std.Post(url, v...)
}
1200874
func (c *ContivClient) AciGwPost(obj *AciGw) error {
	// build key and URL
	keyStr := obj.Name
	url := c.baseURL + "/api/v1/aciGws/" + keyStr + "/"

	// http post the object
	err := c.httpPost(url, obj)
	if err != nil {
		log.Debugf("Error creating aciGw %+v. Err: %v", obj, err)
		return err
	}

	return nil
}
746781
func (r *Route) Post(handlers ...Handler) *Route {
	return r.group.add("POST", r.path, handlers)
}
251512
func (s *pcfaasController) Post() interface{} {
	var handler PcfaasPostInventoryHandler = func(params martini.Params, log *log.Logger, r render.Render, tokens oauth2.Tokens) {
		statusCode := SuccessStatus
		userInfo := GetUserInfo(tokens)
		itemID := params[InventoryItemParam]
		emails := userInfo["emails"].([]interface{})
		userEmail := emails[0].(map[string]interface{})["value"]
		lease, err := s.inventoryClient.LeaseInventoryItem(itemID, userEmail.(string), 14)
		if err != nil {
			log.Fatalln(err)
			statusCode = ServerErrorStatus
		}
		log.Println("User info ", userEmail)
		log.Println("Creating a lease for item ", itemID)
		r.JSON(statusCode, lease)
	}
	return handler
}
1096947
func (cli *Client) post(ctx context.Context, path string, query url.Values, obj interface{}, headers map[string][]string) (serverResponse, error) {
	return cli.sendRequest(ctx, "POST", path, query, obj, headers)
}
151817
func doLike(client ClientInterface, path string, postId uint64, reblogKey string) error {
	params := url.Values{}
	params.Set("reblog_key", reblogKey)
	_, err := client.PostWithParams(path, setPostId(postId, params))
	return err
}