Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Import DNS Records

Open
#226 0 comments 0 reactions 0 assignees View on GitHub

@rslsystems is already working on this.

Since Jul 14, 2022.

  • #227 by @rslsystems — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
api, cloud

Research direction

Start by tracing the request handling for the Cloudflare DNS records import endpoint and identify where JSON is forced for non-GET requests. Reproduce the multipart/form-data failure, then verify that this endpoint accepts its required form data while other request types retain their existing behavior.

Written by the indexing model from the issue text.

Description

When using the https://api.cloudflare.com/#dns-records-for-a-zone-import-dns-records endpoint I am getting;
Failed to parse form data. Make sure the Content-Type is multipart/form-data.

It appear to be the force key fo json being applied to all non-get requests is causing the issue.

Dominant language
PHP
Stars
674
Forks
268
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudflare/cloudflare-php

All issues in cloudflare/cloudflare-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.