Skip to content
#

API

An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.

Here are 26,588 public repositories matching this topic...

httpie
ghost
ghost commented Apr 6, 2015

When the request headers are being echoed back, I'd like the default behavior to be to **** out the credentials.

Instead of this being displayed:
Authorization: Basic aHR0cGllOmlzQXdlc29tZQ==
I'd like to see:
Authorization: Basic ************************

Similarly:
Authorization: Bearer *******************************

Maybe a new option (like --show-creds) could be used to show the crede

ghost
ghost commented Jan 23, 2015

I am currently building a documentation with slate and I would need to add dividing headers to the sidebar. I have 2 different lists of includes but the issue is that the h1 elements get converted to lists since they equal the # in the *.md files. Also I can't just change the h1 elements to h3 or spans since they then get shown in the second column instead of the sidebar.

        <h1 clas
harshilsharma63
harshilsharma63 commented Feb 1, 2018

Node.js version: 8.9.4

npm version: 5.6.0

Strapi version: 3.0.0-alpha.9

Operating system: Ubuntu 16.04 x64

Additional details -

Database being used: PostgreSQL 9.5.10

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
There is no way to specify a relation column as required.

**If the current behavior is

daffodil11
daffodil11 commented Nov 21, 2019

Problem

When following the instructions in the README in the redux example project, a crash occurs.

Input

Here's how I'm using normalizr:
clone this repo
run yarn in the root dir
run yarn in the examples/redux dir
run yarn start

Output

Here's what I expect to see when I run the above:
An inquirer prompt.

Here's what I actually see when I run the above:

> no
postwoman
debjeetsarkar
debjeetsarkar commented Nov 26, 2019

Is your feature request related to a problem? Please describe.
There is no comprehensive tooling while working with MQTT brokers.

Describe the solution you'd like
A simple interface to connect to an MQTT broker.
Subscribe to topics
Publish to topics

Describe alternatives you've considered
MQTT Lens

yippibrian
yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

https://github.com/OWASP/Che

FlorianWendelborn
FlorianWendelborn commented Jul 24, 2016

In 7.4.1 you encourage the use of the Location header. Is there any policy/rule regarding using a full URL versus only the URL path?

I also suggest to make the guideline more verbose regarding my question, as it's often slightly inconvenient to respond with the full URL, and I can imagine a lot of people would pre

q946666800
q946666800 commented Dec 10, 2019

版本号

~
1.8.6

什么问题

~
在swagger中设置参数类型为form,但是导入文档后默认body类型为json,需要自己手动修改

如何复现此问题

~

使用springfox-swagger
@ApiImplicitParams({
@ApiImplicitParam(name = "a", value = "参数a的注释", required = true, paramType = "form", defaultValue = "a1")
})
这里注解标示paramType = "form",导入之后参数默认还是为json,需要自己编辑,改为form。

什么浏览器

~
chrome

什么系统(Linux, Windows, macOS)

macOS 10.15.1

ccxt
nmiculinic
nmiculinic commented Nov 21, 2017

Many python functions have since argument. They should accept datetime object. If you want to support both, I recommend using the arrow library.

For example:

arrow.get(since).timestamp

will get you UNIX timestamp in seconds, whether since is arrow.Arrow, datetime or int timestamp
or

arrow.get(since).isoformat()

will get you properly formatted string.

R

hegemonic
hegemonic commented Jan 12, 2015

Right now, if part of a namepath contains the characters ., ~, or #, you have to wrap that part of the namepath in quotes. It would make sense to escape the special character and strip the quotes.

As part of this change, we should make sure that existing templates can handle this change without modification. If they can't, we'll need to reach out to template authors.

This change was propos

antek-drzewiecki
antek-drzewiecki commented Jan 6, 2016

Hello,

I wanted to discuss and optional pull request about http status codes. Mainly because I often notice success status codes are often not properly documented in most tooling. This would also be an awesome feature for documentation tools.

Grape returns a standard 200 on get, put, patch, delete requests and a 201 on post requests. This is great for me. Tough you can override status codes on

fastapi
sm-Fifteen
sm-Fifteen commented May 13, 2019

Is your feature request related to a problem? Please describe.
Both documentation viewers loaded by FastAPI currently use https://fastapi.tiangolo.com/img/favicon.png as their favicon with no way to change it. It's a nice enough favicon and does the job as a default, but it appears to currently be hardcoded in fastapi/openapi/docs.py, which makes it tricky to change.

**Describe the solut

lifeflowdan
lifeflowdan commented Oct 23, 2018

Hi - great job with Dash. It is amazing! This is a feature request, and one I feel has probably already been asked a few different ways (I'm seeing various iterations in the issues log). I know there are some roundabout ways of having docsets appear when you switch devices, but I wish there was a more automated way. When I upgraded phones today I manually just reentered docsets into the app on my

Wikipedia
Wikipedia
You can’t perform that action at this time.