Skip to content
#

rest

A representational state transfer (REST) API is a way to provide compatibility between computer systems on the Internet. The concept was first outlined in a dissertation by Roy Fielding in 2000.

Here are 6,289 public repositories matching this topic...

httpie
nhooey
nhooey commented Mar 6, 2020

It's not clear from the website's documentation, or the --help output, how to do the following equivalent curl task:

Post a raw JSON query to ElasticSearch:

curl \
    --header "Content-Type: application/json" \
    --request POST \
    --data '{ "_source": [ "restricted_countries.*" ], "query": { "match_all": {} }, "size": 1000 }' \
    'http://localhost:9200/_search'

T

goldbergyoni
goldbergyoni commented Jan 26, 2020

Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.

You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.

At first, we want to collect ideas for best practices, solidify a list

amrsalama
amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.

**Sys

rpkilby
rpkilby commented Jun 19, 2019

Jumping to a subsection via the sidenav will sometimes cause the page header to overlap the anchor point. When navigation is working correctly, there's a perceptible flicker/jump, so I'm guessing javascript is being used to calculate the offsets. Looking at mkdocs's docs, this isn't an issue. I'm wondering if this is something that will be fixed by upgrading mkdocs (#6623), or if it's a theme issu

diyfr
diyfr commented Mar 6, 2020

Environment

  • PostgreSQL version: All
  • PostgREST+ version: 6.0.2 (713b214)

Current state

Currently, Comment on Table

COMMENT ON SCHEMA todos IS
  'Todos object description';

generate a summary for all operations on this resource

 /todos:
    get:
      tags:
        - todos
      summary: Todos object description
      parameters:

But sum

fastapi
ravi-pandit14
ravi-pandit14 commented Apr 14, 2020

What I Want
I want to fixed side menu it should not scrolling with my data.

Description
I have installed react-admin in my react web App project but i am facing side menu scrolling issue. Side menu is scrolling with data.

Steps to reproduce:
I have following the same example that is providing by react-admin and in this example issue can be reproduce on dashboard.
If we will

lihengming
lihengming commented Jul 3, 2017

有很多开发者朋友问我有没有类似的前台项目、后台管理项目的种子项目,其实都是类似的,区别在于这些项目需要模版引擎(不建议使用JSP)和静态资源(css、js、img)的支持,稍微调整下即可适用,按照MVC的分层来说的话差异的只是视图层,下面是基于Thymleaf模板引擎的改造步骤,供参考。

  1. 加入Thymleaf模板引擎依赖
<dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-thyme
kgriffs
kgriffs commented Jan 14, 2020

Currently, we ask contributors to strive for consistency with existing code, but it would be helpful to clarify the following regarding docstrings:

  • Docstrings should begin with a short (~70 characters or less) summary line that ends in a period.
  • The summary line should begin immediately after the opening quotes (do not add a line break before the summary line)
  • The summary line should de
sphet
sphet commented Apr 22, 2020

I want to get the updated document from Python Eve via the on_updated callbacks. All I can get right now are the updates and the original. I can update the original myself, but I see from the source code that is done right after the callback.

It would be good if the callback would provide the updated version as well.

Please provide a way to get the UPDATED document since we are using this

Mobile-Security-Framework-MobSF

Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.

  • Updated May 22, 2020
  • Python
api-platform
jvigneron
jvigneron commented Nov 28, 2019

Description
To be able to optionaly remove the google fonts dependency on any page of the api-platform.

Example
Remove the google font stylesheet in line 8 in the file api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable.

Context
I'm working on an intranet application for a 100000+ employees company and

mivade
mivade commented Apr 26, 2019

Following the instructions here I'm trying to create an endpoint in a Tornado app that shows the API documentation. I'm setting up a static file handler similar to this:

from pathlib import Path

import apistar
from tornado.web import StaticFileHandler

# ...

apistar_static_path = Path(apistar.__file__).par
GwilymTurner
GwilymTurner commented Feb 12, 2020

I was trying to use REST Assured for the first and was going through the documentation to help me but was getting nowhere. I had put in the correct Maven repository and have copied the relevant classes to be imported but was getting nowhere.
After fiddling around for ages, I had discovered that the classes had to be statically imported but since I had directly copied the classes from the wiki, I

delvedor
delvedor commented Mar 24, 2020

The current level of code coverage is quite good (~99.7), but it would be amazing to reach 100%.
The current code coverage report can be found in codecov.io.

If you want to get the code coverage in your machine, run the following command

npm run test:coverage-ui

Once complete, it will open a new tab in your browser with the covera

Wikipedia
Wikipedia

Related Topics

api graphql-api
You can’t perform that action at this time.